﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x020000D7 RID: 215
	internal class FixExt4Header : IExtHeaderDecoder
	{
		// Token: 0x06000328 RID: 808 RVA: 0x0000C222 File Offset: 0x0000A622
		private FixExt4Header()
		{
		}

		// Token: 0x06000329 RID: 809 RVA: 0x0000C22C File Offset: 0x0000A62C
		public ExtensionHeader Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			sbyte typeCode = (sbyte)bytes[offset + 1];
			return new ExtensionHeader(typeCode, 4U);
		}

		// Token: 0x040000F2 RID: 242
		internal static readonly IExtHeaderDecoder Instance = new FixExt4Header();
	}
}
